
<script type="text/javascript" src="../js/libs/jquery.clipboard.js"></script>
<script>
	$(function(){
		var clipboard = new ClipboardJS('.clipboardBtn', {
			target: function(obj) {
				return $(obj).closest("tr").find(".clipval")[0];
			}
		});
		clipboard.on('success', function(e) {
			alert('复制成功！')
		});
		clipboard.on('error', function(e) {
			console.log(e);
		});
	})

</script>
